'use strict';

module.exports = app => {
  const { router, controller } = app;
  const handleUrl = app.middleware.handleUrl();
  // 万象大学
  router.get('/cms/education/collage', handleUrl, controller.base.list.index);
  router.get('/cms/education/collage/detail', handleUrl, controller.base.detail.index);
  // 交易规则
  router.get('/cms/education/rules', handleUrl, controller.base.list.index);
  router.get('/cms/education/rules/detail', handleUrl, controller.base.detail.index);
  // 投教保护
  router.get('/cms/education/protect', handleUrl, controller.base.list.index);
  // 投教保护 整治非法期货
  router.get('/cms/education/remediation', handleUrl, controller.base.list.index);
  router.get('/cms/education/remediation/detail', handleUrl, controller.base.detail.index);
  // 投教保护 法制诚信专栏
  router.get('/cms/education/legal', handleUrl, controller.base.list.index);
  router.get('/cms/education/legal/detail', handleUrl, controller.base.detail.index);
  // 投教保护 反洗钱知识
  router.get('/cms/education/antimoney', handleUrl, controller.base.list.index);
  router.get('/cms/education/antimoney/detail', handleUrl, controller.base.detail.index);
  // 投教保护 期市政策法规
  router.get('/cms/education/policies', handleUrl, controller.base.list.index);
  router.get('/cms/education/policies/detail', handleUrl, controller.base.detail.index);
};
